package com.example.obtaingaode.di;

import com.example.obtaingaode.activity.MyApplication;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;
import io.objectbox.BoxStore;

/**
 * Created by Ma.Chong on 2017/10/13.
 */

@Module
public class AppModule {
    @Singleton
    @Provides
    public BoxStore provideBoxStore(){
        return MyApplication.getBoxStore();
    }

}
